<load href="../Public/css/account.css" />
<load href="../Public/js/plugin/jquery-ui/theme/Aristo.min.css" />
<load href="../Public/js/plugin/jquery-ui/jquery-ui.min.js" />

<load href="../Public/js/module/User/myrecommen.js" />
<div id="main-content">

    <div class="left">
        <div class="thin-caption">
            <div class="thin-caption-left"></div>
            <div class="thin-caption-content"></div>
            <div class="thin-caption-right"></div>
        </div>
        <div class="user-page-header">
            <div class="fleft">

                <img src="../Public/images/default.png">

            </div>
            <div class="fleft">
                <h1>{$Think.Session.WEB_USER.nick_name }<span>用过的</span></h1>
                <span id="isself" class="hidden">true</span>
                <span class="mine-tab clearfix">
                    <a href="__APP__/User/mycomment.shtml">我的评论</a>
                    <a href="javascript:;"><span>我的推荐</span><div class="clear"></div></a>
                </span>
            </div>
            <div class="clear"></div>
        </div>
        <div class="left-field profile-page profile-mine-page clearfix">

            <div class="profile-mine-content clearfix">


                <p style="margin:10px 0 0;">共有推荐过的应用<span class="orange">{$count }</span>款<span class="fright"><a href="__APP__/User/addRecommend.shtml">添加我的推荐</a></span></p>

                <volist id="l" name="list" key="k">
                    <div class="app-box-advance clearfix fleft" id="app_100059435" style="border-right: 1px dashed rgb(204, 204, 204);">
                        <div class="app-box-info fleft">
                            <h2 class="list-app-title">
                                <a title="{$l.name }" href="javascript:;">
                                    <span id="name-100059435" class="bold">{$l.name|msubstr=0,12 }</span>
                                </a>
                            </h2>
                            <p class="app-desc">
                                <br>
                                <span style="color:#000;"></span>
                            </p>
                            <span class="hidden"></span>
                            <p id="p_comment_fun" class="app-action">
                                <a class="mofiycomment smallButton" href="__APP__/User/addRecommend/id/{$l.id }.shtml">修改</a>
                                <a class="deletecomment smallButton" c_id="{$l.id }" href="javascript:;">删除</a>
                                <a class="smallButton price-download download-button" onclick="openDownloadPage('itms://itunes.apple.com/cn/app//id430130997?mt=8&amp;uo=4','100059435')" id="download-100059435" target="_blank" href="javascript:;">下载</a>
                            </p>
                        </div>
                        <div class="clear"></div>
                        <div class="app-mine-comment clearfix">
                            <p class="app-user-info">
                                版主回复：{$l.reply }
                            </p>
                            <span class="star40"></span>
                        </div>
                    </div>

                    <if condition="$k % 2 == 0 "> 
                        <div class="dashed-line clear"></div>
                    </if>
                </volist>

            </div>
            <div style="margin-bottom: 15px;"></div>
            <div class="yui3-appsview-page sabrosus">
                {$show }

            </div>
            <div style="margin-top:10px;" class="advance-paging">

                <div class="clear"></div>

            </div>
        </div>
        <div class="left-shadow clearfix"></div>
    </div>
    <div class="right">

    </div>
    <div class="clear">
    </div>
    <script>
        $(function(){
            $(".app-box-advance:even").css("border-right","1px dashed #CCC");
        });
    </script>

</div>

<form id="frm_hidden_mycomment" method="post"></form>

<!--评论-->
<div id="review-popup" class="hidden">
    <div id="review-loading" style="display: none;">
        <p>Loading......</p>
    </div>
    <div class="popup popup-app hidden" id="review-body" style="display: block;">
        <form method="post" action="#" id="appvote">
            <div style="display:none"><input type="hidden" value="ac4d2a51f80d1b673c87f075f61e411f" name="csrfmiddlewaretoken"></div>
            <div class="popup-tile">
                <!--                <h2 class="fleft" id="popup-tile">添加收藏：<b>用过</b></h2>-->
                <span class="popup-close fright"><a href="javascript:void(0)" onclick="closePopup();return false;">X</a></span>
                <div class="clear"> </div>
            </div>
            <div class="hidden">
                <input type="text" name="score" value="0" class="review_score">
                <span id="review-app-id">100186170</span>
                <span id="originalMark"></span>
            </div>
            <div class="popup-vote clearfix" id="popup-vote">
                <span></span>
                <div class="starMessage fright"></div>
            </div>
            <div class="clear"></div>
            <div class="popup-comment">
                <label for="review-popup-content">评论：</label>
                <span class="fright popup-reminds"><span id="remainWords">140</span></span>
                <br>
                <textarea id="review-popup-content" uId="{$Think.Session.WEB_USER.id }" aId="{$app.id }" rows="20" cols="40" name="content"></textarea>
            </div>
            <!--            <div class="grey2">* 给应用打分能让您的猜你喜欢猜的更准</div>-->
            <!--            <a onclick="toggleAdvanceReview()" id="hide-advance-review" href="javascript:;">添加标签▼</a>-->
            <div class="popup-user-tags hidden clearfix" style="display: none;">
                <label class="fleft" style="margin-right:5px;" for="review-popup-tags" id="review-popup-tag-title">标签：</label>
                <input type="text" id="review-popup-tags" name="tags" maxlength="300"><span class="popup-tags-reminds">多个标签请用空格分隔</span>
            </div>
            <div class="popup-pop-tags hidden clearfix" style="display: none;">
                <span style="margin-right:5px;" class="fleft">常用标签：</span>
                <div class="fleft" id="popup-pop-tags"><a onclick="selectPopTag(this)" href="javascript:;">社交</a><a onclick="selectPopTag(this)" href="javascript:;">娱乐</a></div>
            </div>
            <div class="clear">
            </div>
            <div class="popup-review-action">
                <div class="popup-sync fleft" id="popup-sync" style="display: none;">
                    同步到：
                    <span>
                        <input type="checkbox" id="popup-sina-sync" checked="checked" style="display: none;"><label for="popup-sina-sync" style="display: none;">新浪微博</label>
                        <input type="checkbox" id="popup-tencent-sync" checked="checked" style="display: none;"><label for="popup-tencent-sync" style="display: none;">腾讯微博</label>	
                    </span>
                    <div class="clear"></div>
                </div>
                <a class="popup-button review-submit-button fright" id="normal-review-button" href="javascript:;">提 交</a>
                <img src="../Public/images/loading.gif" alt="loading" class="hidden fright" style="margin-top:10px;" id="review-loading-image">
                <div class="clear"></div>
            </div>
        </form>
    </div>
    <input type="text" value="0" class="hidden" id="content-change">
</div>